package com.fpx.open.platform.domain.ae.waybill;

import java.util.List;

import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;

public class WaybillBody {
    /**
     * 消息ID,用于同物流宝核对所上传面单号 
     */
    @NotNull
    private String messageId;
    /**
     * 电子面单TP编码
     */
    @NotNull
    private String serviceCode;
    /**
     * 仓库编码
     */
    @NotNull
    private String whCode;
    /**
     * 目的地区域简称，如RU(俄罗斯)
     */
    @NotNull
    private String rcountry;
    /**
     * 面单号
     */
    @NotNull
    private List<String> waybillList;
    /**
     * 面单号数量
     */
    @NotNull
    private Long waybillQuantity;
    /**
     * 备注
     */
    private String remark;
    
    public String getMessageId() {
        return messageId;
    }
    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }
    public String getServiceCode() {
        return serviceCode;
    }
    public void setServiceCode(String serviceCode) {
        this.serviceCode = serviceCode;
    }
    public String getWhCode() {
        return whCode;
    }
    public void setWhCode(String whCode) {
        this.whCode = whCode;
    }
    public String getRcountry() {
        return rcountry;
    }
    public void setRcountry(String rcountry) {
        this.rcountry = rcountry;
    }
    public Long getWaybillQuantity() {
        return waybillQuantity;
    }
    public void setWaybillQuantity(Long waybillQuantity) {
        this.waybillQuantity = waybillQuantity;
    }
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    @XmlElementWrapper(name="waybillList")
    @XmlElement(name="waybillNo")
    public List<String> getWaybillList() {
        return waybillList;
    }
    public void setWaybillList(List<String> waybillList) {
        this.waybillList = waybillList;
    }
    
}
